﻿using System.ComponentModel;

namespace Administratation.ViewModels
{
    public class ViewModelBase : INotifyPropertyChanged
    {
        protected void OnPropertyChanged(string propertyName)
        {
            if (this.PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }
        protected string operationResult;

        public event PropertyChangedEventHandler PropertyChanged;
        public string OperationResult
        {
            get
            {
                return this.operationResult;
            }
        }
    }
}
